package com.dev.security.manager.beans;

import javax.persistence.Column;
import javax.persistence.Embeddable;

/**
 * @author 潜行的青衣
 * @see
 */
@Embeddable
public class RolePermUnitId implements java.io.Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1114853708393407942L;

	@Column(name="role_id", length = 50)
	private String role_id;
	
	@Column(name="per_id", length = 50)
	private String per_id;

	public RolePermUnitId() {}
	
	public RolePermUnitId(String role_id, String per_id) {
		this.role_id = role_id;
		this.per_id = per_id;
	}
	
	public String getRole_id() {
		return role_id;
	}

	public void setRole_id(String role_id) {
		this.role_id = role_id;
	}

	public String getPer_id() {
		return per_id;
	}

	public void setPer_id(String per_id) {
		this.per_id = per_id;
	}
	
}
